package com.ruoyi.system.domain.api;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * Banner管理对象 b_app_banner
 * 
 * @author ruoyi
 * @date 2022-04-21
 */
public class BAppBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** banner图链接 */
    @Excel(name = "banner图链接")
    private String bannerUrl;

    /** 所属界面 1首页  2理财页 */
    @Excel(name = "所属界面 1首页  2理财页")
    private String bannerPage;

    /** 参数 */
    @Excel(name = "参数")
    private String param;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 类型 1banner  2公告显示 */
    @Excel(name = "类型 1banner  2公告显示")
    private String type;

    /** 点击banner跳转到url */
    @Excel(name = "点击banner跳转到url")
    private String url;

    /** 是否显示 0不显示 1显示 */
    @Excel(name = "是否显示 0不显示 1显示")
    private Integer isShow;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String bannerUrlEn;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBannerUrl(String bannerUrl) 
    {
        this.bannerUrl = bannerUrl;
    }

    public String getBannerUrl() 
    {
        return bannerUrl;
    }
    public void setBannerPage(String bannerPage) 
    {
        this.bannerPage = bannerPage;
    }

    public String getBannerPage() 
    {
        return bannerPage;
    }
    public void setParam(String param) 
    {
        this.param = param;
    }

    public String getParam() 
    {
        return param;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setIsShow(Integer isShow) 
    {
        this.isShow = isShow;
    }

    public Integer getIsShow() 
    {
        return isShow;
    }
    public void setBannerUrlEn(String bannerUrlEn) 
    {
        this.bannerUrlEn = bannerUrlEn;
    }

    public String getBannerUrlEn() 
    {
        return bannerUrlEn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("bannerUrl", getBannerUrl())
            .append("bannerPage", getBannerPage())
            .append("param", getParam())
            .append("title", getTitle())
            .append("type", getType())
            .append("url", getUrl())
            .append("isShow", getIsShow())
            .append("bannerUrlEn", getBannerUrlEn())
            .toString();
    }
}
